package com.ns.basic.server.dto;

import com.ns.core.entry.PageModel;
import com.ns.core.utils.StpUtil;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.experimental.Accessors;

/**
 * 服务查询参数
 * * @author : lw
 * * @version : v1.0.0
 * * @since : 2024-09-11 11:54:35
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ToString
@Accessors(chain = true)
public class ServerPageDto extends PageModel {
    /**
     * 所属服务
     */
    private Long sid = StpUtil.getSid();

    /**
     * 租户
     */
    private Long rid = StpUtil.getRid();

    /**
     * 查询条件
     */
    private String search;

    /**
     * 字典码
     */
    private String code;
}
